i<%@include file="template/configuration.jsp" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>${website} || Hand-in assignment</title>
        ${stylesheet}
        ${jquery}
    </head>
    <body>
        <div class="container">
            <%@include file="template/header.jsp" %>
            <div class="content">
                <div class="full-block">
                    <h1>Hand-in assignment</h1>
                    <form action="Handin" method="POST" enctype="multipart/form-data">
                        <input type="hidden" value="${assignmentid}" name="assignmentid"/>
                        <input type="hidden" value="${lessonid}" name="lessonid"/>
                        <label>Course</label> <div class="information-text">${course_name}</div>
                        <br />
                        <label>Lesson</label> <div class="information-text">${lesson_name}</div>
                        <br />
                        <label for="file">Choose file</label> <input type="file" name="upfile" required/>
                        </br>
                        <label for="description">Description</label> <textarea name="description" id="description" required></textarea>
                        </br>
                        <label>&nbsp;</label> <input type="submit" value="Hand-in assignment"/>
                    </form>
                </div>
            </div>
            <%@include file="template/footer.jsp" %>
        </div>
    </body>
</html>        
